package com.quark.model.system.user.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * @author 张高昌
 * @date 2021/12/20 14:18
 * @description: 功能描述
 */
@Data
public class UserPasswordVO {

    /**
     * 主键
     */
    @NotNull(message = "id不能为空")
    @ApiModelProperty(value = "主键")
    private Long id;

    /**
     * 密码
     */
    @NotBlank(message = "密码不能为空")
    @ApiModelProperty(value = "密码")
    private String password;

    /**
     * 确认密码
     */
    @NotBlank(message = "确认密码不能为空")
    @ApiModelProperty(value = "确认密码")
    private String confirmPassword;
}
